package com.ktjiaoyu.service;

import com.ktjiaoyu.entity.SysRole;
import com.ktjiaoyu.entity.SysUser;

import java.util.List;

public interface SysRoleService {
    public List<SysRole> findAll() throws Exception;

    public SysRole findById(Long id);

    public SysRole findByCode(String code);

    public int insertRole(SysRole sysRole);

    public int updateRole(SysRole sysRole);

    public int deleteRole(Long id);
}
